﻿using BaseData.ErrorCode;
using MediatR;

namespace BaseData.API.Write.Applications.Commands
{
    /// <summary>
    /// 修改角色--配置权限 请求
    /// </summary>
    public class UpdRoleCommand : IRequest<ApiResult<int>>
    {
        public int RoleId { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>

        public string? RoleName { get; set; }
        /// <summary>
        /// 权限 集合
        /// </summary>
        public List<int> PermissionIds { get; set; }
    }
}
